package com.example.androidkt.sixth

import androidx.room.Dao
import androidx.room.Insert
import androidx.room.Query

@Dao
interface BookDao{
    @Insert
    fun insertBook(user: User):Long = 0

    @Query("select * from Book")
    fun loadAllBook():List<Book>
}